<?php require_once("{$CfgPara->root}/class/format_size.func.php") ?>
<div class="app-border-top" style="padding: 10px 0px 10px 20px">
    作品数：<?= $userField->WorksCount ?>
</div>
<ul class="am-list" style="margin-top: 0">
    <?php
    if (isset($workList) && count($workList) > 0)
        foreach ($workList as $workMsg) {
            ?>
            <li class="am-g am-list-item-desced am-list-item-thumb-left"
                style="padding-left: 10px">
                <a onclick="goto_work_show(<?= $workMsg->Id ?>)">
                    <div class="am-u-sm-3 am-list-thumb">
                        <div class="app-img-flex" style="background-image:url(<?= $workMsg->Picture ?>);">
                        </div>
                    </div>
                    <div class=" am-u-sm-7 am-u-end am-list-main">
                        <div class="am-list-item-hd">
                            <b class="<?php if ($workMsg->ViewState == 1) echo 'app-main-color'; else echo 'app-gray-color' ?>">
                                <?= $workMsg->Name ?>
                            </b>
                        </div>
                        <div class="am-list-item-text">
                            <span><?= $workMsg->Introd ?></span>
                        </div>
                    </div>
                </a>
            </li>
        <?php } ?>
</ul>